package com.sky.upload;


import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
@EnableConfigurationProperties(AliOSSProperties.class)
public class AliOssAutoConfiguration {

    @Bean
    public AliOSSUtils aliOssUtils(AliOSSProperties aliOSSProperties){
        return new AliOSSUtils(aliOSSProperties);
    }
}
